(function($){
	try{
		
		$.notification = function(options, callbackFnk) {
		try{
			$.notification.show(options.pos_top, options.width, options.message);
			
		}catch(err) {
			alert(err);
		}
		}

		$.notification.show = function(pos_top, width, message) {
		try{
			var notification_flash = $("[data-dom-id=notification-flash]");
			var notification_flash_text = $("[data-dom-id=notification-flash-text]");
			if(!notification_flash.is(":visible")) {
				notification_flash_text.text(message);
				notification_flash.css({ "top" : pos_top + "px", "width" : width }).fadeIn(1000);
			}else {
				notification_flash_text.text(message);
				notification_flash.css({ "top" : pos_top + "px", "width" : width });
			}
		}catch(err) {
			alert(err);
		}
		}
		
	}catch(err) {
		alert(err);
	}

})(jQuery);
